import Avue from '@smallwei/avue'
import ELEMENT from 'element-ui'
import vueAxios from 'vue-axios'
import Vue from 'vue'

import axios from '@/router/axios'
import router from './router'
import App from './App.vue'
import store from './store'

import '@/config/index'
import 'element-ui/lib/theme-chalk/index.css'
import '@smallwei/avue/lib/theme-chalk/index.css'
import '@/style/common.scss'

Vue.use(ELEMENT)
Vue.use(Avue, axios)
Vue.use(vueAxios, axios)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
